<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html Public "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>我爱预约网后台管理系统</title>

<!--<link href="../Public/css/basic.css" rel="stylesheet" type="text/css" />-->

<script src="/wayy1/Public/bootstrap/js/jquery.min.js"></script>
</head>

<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
  <tr>
    <td height="147"><img src="../Public/images/top03.gif" width="776" height="147" /></td>
  </tr>
</table>
<table>
  <tr>
    <td>
      <form action='<?php echo U("check");?>' method='post'>
        <table>
          <tr>
            <td>用 户：<br /></td>
            <td width="69%"><input name="username" type="text" size="30" /></td>
          </tr>
          <tr>
            <td height="35">密 码：<br/></td>
            <td><input name="password" type="password" size="33" /></td>
          </tr>
          <tr>
            <td>验证码图片:</td> 
            <td><p class="top15 captcha" id="captcha-container">                
                <img alt="验证码" src="<?php echo U('verify',array());?>" title="点击刷新">  
               </p> 
            </td>
          </tr>
          <tr>
            <td>验证码:<br/></td>
            <td><input type="text" name='fcode'/></td>
          </tr>
          <tr>
            <td height="35">&nbsp;</td>
            <td><input name="Submit2" type="submit" class="right-button01" value="登陆" onClick="window.location='index.html'" />
              <input name="Submit232" type="reset" class="right-button02" value="重置" /></td>
          </tr>
        </table>
      </form>
    </td>
  </tr>
</table>

<script type="text/javascript">


var captcha_img = $('#captcha-container').find('img')  
var verifyimg = captcha_img.attr("src");  
captcha_img.attr('title', '点击刷新');  
captcha_img.click(function(){  
    if( verifyimg.indexOf('?')>0){  
        $(this).attr("src", verifyimg+'&random='+Math.random());  
    }else{  
        $(this).attr("src", verifyimg.replace(/\?.*$/,'')+'?'+Math.random());  
    }  
}); 
    
</script>
</body>
</html>